<div class="navbar-color">
    <a class="nav-title"  _href="ROOT_URL" title="到系统首页">ERP系统</a>
    <ul class="nav-hover"></ul>
    <ul class="nav-right">
        <li class="" style="margin-right:60px;">
            <div class="hdiv">
                <div class="hdiv2" _title="of_base_sso_tool::user('nike')"><!--<? echo mb_substr(of_base_sso_tool::user('nike'),0,1,'utf-8');?>--></div></div>
            <ul style="margin-left:-20px;">
                <li><a href="/?c=ctrl_main&a=logout">退出系统</a></li>
            </ul>
        </li>
    </ul>
</div>
<div class="breadcrumb-wrapper" style="display:none">
    <ol class="breadcrumb">
        您的位置：
        <li><a href="#">首页</a></li>
        <li><a href="#">系统信息</a></li>
        <li class="active">Data</li>
    </ol>
</div>

<!-- 普通情况使用头部导航模板 -->
<script type="text/html" id="normalTemp">
{{#each this as |listPart i|}}
<li class=""><a href="{{listPart.href}}" class="{{#unless listPart.href}}not-url{{/unless}}">{{listPart.list}}</a>
    {{#if listPart.subList}}
    <ul>
        {{#each listPart.subList as |subPart subKey|}}
        <li class="{{#listenRole subPart.listenRole}}{{/listenRole}}" data-value="{{subKey}}"><a href="{{subPart.href}}" class="{{#unless subPart.href}}not-url{{/unless}}">{{subKey}}</a>
            {{#if subPart.lowestList}}
            <ul>
                {{#each subPart.lowestList as |lowestPart i2|}}
                <li data-value="{{subKey}}"><a href="{{lowestPart.href}}" class="{{#unless lowestPart.href}}not-url{{/unless}}">{{lowestPart.list}}</a></li>
                {{/each}}
            </ul>
            {{/if}}
        </li>
        {{/each}}
    </ul>
    {{/if}}
</li>
{{/each}}
</script>
<!-- 客服中心使用头部导航模板 -->
<script type="text/html" id="roleTemp">
<li class=""><a href="" class="not-url">ERP</a>
    <ul>
        {{#each this as |listPart i|}}
        <li class="jsStoreHome"><a href="{{listPart.href}}" class="{{#unless listPart.href}}not-url{{/unless}}">{{listPart.list}}</a>
            {{#if listPart.subList}}
            <ul>
                {{#each listPart.subList as |subPart subKey|}}
                <li class="{{#listenRole subPart.listenRole}}{{/listenRole}}"  data-value="{{subKey}}"><a href="{{subPart.href}}" class="{{#unless subPart.href}}not-url{{/unless}}" >{{subKey}}</a>
                    {{#if subPart.lowestList}}
                    <ul>
                        {{#each subPart.lowestList as |lowestPart i2|}}
                        <li data-value="{{subKey}}"><a href="{{lowestPart.href}}" class="{{#unless lowestPart.href}}not-url{{/unless}}">{{lowestPart.list}}</a></li>
                        {{/each}}
                    </ul>
                    {{/if}}
                </li>
                {{/each}}
            </ul>
            {{/if}}
        </li>
        {{/each}}
    </ul>
</li>
<div class="inlineB current-role">{{#roleName this}}{{/roleName}} <i class="glyphicon glyphicon-play"></i></div>
{{#roleList this}}
<li class="section-part role-list"><a class="{{#unless href}}not-url{{/unless}}" href="{{href}}">{{list}}</a></li>
{{/roleList}}
</script>
<script type="text/javascript" src="../js/handlebars.js"></script>
<script type="text/javascript" defer src="../js/navHover.js"></script>